package com.shlh.saas.service;

import com.shlh.saas.model.dto.EmailVerificationDTO;
import com.shlh.saas.common.Result;

/**
 * 邮箱验证服务接口
 */
public interface EmailVerificationService {
    
    /**
     * 验证邮箱账号和授权码是否有效
     * @param emailVerificationDTO 包含邮箱地址和授权码的DTO对象
     * @return 验证结果
     */
    Result<Boolean> verifyEmailCredentials(EmailVerificationDTO emailVerificationDTO);

    boolean verifyOutlookDeviceCode(String emailAddress, String authCode);

    boolean verifyOutlookToken(String email);
} 